{% extends 'base-admin.html' %}

{% block extrahead %}
{% comment %}
	{% load wysiwyg %}
	{% wysiwyg_setup %}
{% endcomment %}
<style>
#id_to, #id_subject {
width: 300px;
}
</style>	


{% endblock %}

{% block branding %}<h4><strong>Componer Mail</strong></h4>{% endblock %}

{% block content %}
	<div class="texto">
<h2>	{{message.instance_object}}</h2>
		<form action="." method="post">{% csrf_token %}
			<table>
			{{form.as_table}}
			{% comment %}
			{% wysiwyg_editor "id_body" %}
			{% endcomment %}
			<tr>
				<td><input class="boton_generico" type="submit" name="sub_button" value="Cancelar" /></td>
				<td><input class="boton_generico" type="submit" name="sub_button" value="Aceptar" /></td>
				<td><input class="boton_generico" type="submit" name="sub_button" value="Posponer" /></td>
			</tr>
			</table>
		</form>
	</div>

<h2>Vista previa:</h2>
{{message.body}}

{% endblock %}
